﻿using System;

namespace UniRx.Operators
{
	// Token: 0x020002DD RID: 733
	internal class ImmutableReturnTrueObservable : IObservable<bool>, IOptimizedObservable<bool>
	{
		// Token: 0x06000FA5 RID: 4005 RVA: 0x00048879 File Offset: 0x00046C79
		private ImmutableReturnTrueObservable()
		{
		}

		// Token: 0x06000FA6 RID: 4006 RVA: 0x00048881 File Offset: 0x00046C81
		public bool IsRequiredSubscribeOnCurrentThread()
		{
			return false;
		}

		// Token: 0x06000FA7 RID: 4007 RVA: 0x00048884 File Offset: 0x00046C84
		public IDisposable Subscribe(IObserver<bool> observer)
		{
			observer.OnNext(true);
			observer.OnCompleted();
			return Disposable.Empty;
		}

		// Token: 0x04000919 RID: 2329
		internal static ImmutableReturnTrueObservable Instance = new ImmutableReturnTrueObservable();
	}
}
